package net.tngou.crawler.pojo;

import com.alibaba.fastjson.JSONObject;
/**
 * 网上药店 
 * @author tngou@tngou.net
 *
 */
public class Ecommerce extends POJO {

	private String   number ;//	证书编号 	
	private String   name 	;//	单位名称 	
	private String   scope 	;//	服务范围 	
	private String   legal 	;//	法定代表人 	
	private String   address;//	单位地址 	
	private String   province;//	省份 	
	private String   web 	;//	网站名称 	
	private String   ip 	;//	IP地址 	
	private String   url 	;//	域名 	
	private String   sdate 	;//	发证日期 	
	private String   edate 	;//	有效截至日期 	
	private String   zipcode;//	邮编 	
	public Ecommerce() {}
	public Ecommerce(JSONObject json) {
		if(json!=null) {
			this.number=json.getString("证书编号");
			this.name=json.getString("单位名称"); 	
			this.scope=json.getString("服务范围"); 	
			this.legal=json.getString("法定代表人"); 	
			this.address=json.getString("单位地址"); 	
			this.province=json.getString("省份"); 	
			this.web=json.getString("网站名称"); 	
			this.ip=json.getString("IP地址"); 	
			this.url=json.getString("域名"); 	
			this.sdate=json.getString("发证日期"); 	
			this.edate=json.getString("有效截至日期"); 	
			this.zipcode=json.getString("邮编"); 
		
		}
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getScope() {
		return scope;
	}
	public void setScope(String scope) {
		this.scope = scope;
	}
	public String getLegal() {
		return legal;
	}
	public void setLegal(String legal) {
		this.legal = legal;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getWeb() {
		return web;
	}
	public void setWeb(String web) {
		this.web = web;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getSdate() {
		return sdate;
	}
	public void setSdate(String sdate) {
		this.sdate = sdate;
	}
	public String getEdate() {
		return edate;
	}
	public void setEdate(String edate) {
		this.edate = edate;
	}
	public String getZipcode() {
		return zipcode;
	}
	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}
	
	
	
}
